package recording;

import android.Manifest;
import android.annotation.SuppressLint;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.widget.Toast;

import androidx.annotation.NonNull;
import androidx.fragment.app.FragmentActivity;

import com.yw.ffmpeg.R;

/**
 * @ProjectName: AndroidFFMpeg
 * @Package: recording
 * @ClassName: CameraActivity
 * @Description: java类作用描述
 * @Author: wei.yang
 * @CreateDate: 2021/5/20 13:49
 * @UpdateUser: 更新者：wei.yang
 * @UpdateDate: 2021/5/20 13:49
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class CameraActivity extends FragmentActivity
        {

    private static final boolean DEBUG = false;	// XXX 実働時はfalseにすること
    private static final String TAG = CameraActivity.class.getSimpleName();

    @Override
    protected void onCreate(final Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video_and_audio_recording);

        if (savedInstanceState == null) {
            getSupportFragmentManager().beginTransaction()
                    .add(R.id.container, new CameraFragment()).commit();
        }
    }

    @Override
    protected final void onStart() {
        super.onStart();
        if (DEBUG) Log.v(TAG, "onStart:");
    }

    @Override
    protected final void onResume() {
        super.onResume();
        if (DEBUG) Log.v(TAG, "onResume:");
    }

    @Override
    protected final void onPause() {
        if (DEBUG) Log.v(TAG, "onPause:");
        super.onPause();
    }

    @Override
    protected final void onStop() {
        if (DEBUG) Log.v(TAG, "onStop:");
        super.onStop();
    }

    protected void internalOnResume() {
        if (DEBUG) Log.v(TAG, "internalOnResume:");
    }

    protected void internalOnPause() {
        if (DEBUG) Log.v(TAG, "internalOnPause:");
    }





}
